import * as express from "express";
import * as api from "./api"

export const register = ( app: express.Application ) => {
    app.get( "/", ( req: any, res ) => {
        res.render( "search" );
    } );

    app.get( "/search-res", ( req:any, res ) => {
        res.render( "search-res" );
    } );

    api.register( app );
};
